50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


crunch (version 1.9.4)

[,CrunchExpr,CrunchLogicalExpr,ANY-method: "Subset" a Variable

Description

These methods subset variables by creating Expressions, which can be composed and evaluated as needed.

Usage

## S3 method for class 'CrunchExpr,CrunchLogicalExpr,ANY':
[(x, i, j, ..., drop = TRUE)

## S3 method for class 'CrunchVariable,CrunchExpr,ANY': [(x, i, j, ..., drop = TRUE)

## S3 method for class 'CrunchVariable,numeric,ANY': [(x, i, j, ..., drop = TRUE)

## S3 method for class 'CrunchVariable,logical,ANY': [(x, i, j, ..., drop = TRUE)

Arguments

x
a Variable
i
a CrunchExpr, logical, or numeric
j
Invalid
...
additional arguments, ignored
drop
Invalid

Value

  • a CrunchExpr containing references to the variable x and the filter logic contained in i